package org.opens.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.opens.entity.ShiroPermissionWithRole;

import java.util.List;

@Mapper
public interface ShiroPermissionWithRoleDao extends BaseMapper<ShiroPermissionWithRole> {

    public List<ShiroPermissionWithRole> findByRoleIdsIn(@Param(value = "roleIds") List<Integer> roleIds);

}
